home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 140
/
(Vol 140) Sep 19 2011.iso
/
Games
/
axterix.swf
/
scripts
/
DefineButton2_59
/
BUTTONCONDACTION on(keyPress Down).as
next >
Wrap
Text File
|
2011-09-19
|
1KB
|
54 lines
on(keyPress "<Down>"){
choix++;
sonMC.gotoAndPlay(3);
if(choix == 1)
{
bregles.gotoAndStop(1);
bfluidite.gotoAndStop(1);
bscore.gotoAndStop(1);
bdefi.gotoAndStop(1);
bjouer.gotoAndPlay(2);
}
if(choix == 2)
{
bjouer.gotoAndStop(1);
bfluidite.gotoAndStop(1);
bscore.gotoAndStop(1);
bdefi.gotoAndStop(1);
bregles.gotoAndPlay(2);
}
if(choix == 3)
{
bjouer.gotoAndStop(1);
bregles.gotoAndStop(1);
bscore.gotoAndStop(1);
bdefi.gotoAndStop(1);
bfluidite.gotoAndPlay(2);
}
if(choix == 4)
{
bjouer.gotoAndStop(1);
bregles.gotoAndStop(1);
bfluidite.gotoAndStop(1);
bdefi.gotoAndStop(1);
bscore.gotoAndPlay(2);
}
if(choix == 5)
{
bjouer.gotoAndStop(1);
bregles.gotoAndStop(1);
bfluidite.gotoAndStop(1);
bscore.gotoAndStop(1);
bdefi.gotoAndPlay(2);
}
if(choix == 6)
{
choix = 1;
bregles.gotoAndStop(1);
bfluidite.gotoAndStop(1);
bscore.gotoAndStop(1);
bdefi.gotoAndStop(1);
bjouer.gotoAndPlay(2);
}
}